<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <th:block th:include="fragments/header :: header"/>
    <script type="text/javascript" th:inline="none">

        $(function () {
            initDataGrid();
            // initToolbar();
        });

        //初始化表格
        function initDataGrid() {
            $("#dgChampionList").datagrid({
                url:'/markt/trophy/listByChampion',
                idField:'id',
                columns:[[
                    {field: 'season', title: '赛季', width: 120},
                    {field: 'clubId', title: '俱乐部', width: 80},
                    {field: 'coach', title: '教练', width: 120}
                ]],
                rownumbers:true,
                queryParams:{
                    type:'中超冠军'
                }
            })
        }
    </script>
</head>
<body class="easyui-layout">
<div data-options="region:'center'" style="width: 100%">
    <div>
        <table id="dgChampionList">

        </table>
    </div>
</div>
</body>
</html>
